package com.ccs.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_info") //修改类名
public class UserInfo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private Integer age;
    private Integer gender; // 1-男  2-女
    private String phone;
    @TableField("delete_flag") //修改属性名
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;

}
